#include <P18F452.h>
#include <delays.h>

//#define CLK 40000000          //40MHz
#define CLK 4000000             //4MHz

#define MINOR_LENGTH 100

/**
* @brief lisr_tmr0_overflow
* @param char time_scaler - Sets the time gap between beeps. 0 -> 0%, 255 -> 100%
* @return void
* @details Used for acoustic approximation of distance
* @note Requires setup_sound() to be run prior to use
* @author James Abbottsmith, Gennady Bolotov
* @todo Change output port manually
*/
void lisr_tmr0_overflow(unsigned char time_scaler);

/**
* @brief setup_sound
* @param 
* @return void
* @details Required for use of sound module
* @note 
* @author James Abbottsmith, Gennady Bolotov
* @todo Change output port data direction latch manually
*/
void setup_sound(void);
